package com.rentong.wx.cust.dao;

import com.rentong.wx.cust.domain.CustOrderPayEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * 支付流水
 * 
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:32
 */
@Mapper
public interface CustOrderPayDao extends BaseMapper<CustOrderPayEntity> {

    //获取已支付信息
    List<CustOrderPayEntity> getOrderPaid(@Param("custId") Long custId, @Param("payId") Long payId, @Param("stateList") List<Integer> stateList);


    CustOrderPayEntity getByOrderId(@Param("serviceOrderId") Long serviceOrderId);
}
